package com.pptv.mtbu.ottflow.schedule;

import java.util.Date;
import org.springframework.scheduling.quartz.QuartzJobBean;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.pptv.mtbu.ottflow.service.AdminManager;



public class PayJob
	extends QuartzJobBean 
{

	private boolean isRunning = false;

	private AdminManager adminMgr;
	public void setEmpMgr(AdminManager empMgr)
	{
		this.adminMgr = empMgr;
	}

	public void executeInternal(JobExecutionContext ctx) 
		throws JobExecutionException 
	{
		if (!isRunning)
		{

			isRunning = true;

			isRunning = false;
		}
	}
}